package com.yangrui.app.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(value = {"handler"})
public class Chapter {

    private Integer id;

    private String title;

    private Integer orderInVideo;

    private Date createTime;

    List<Episode> episodes;
}
